import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = true
// 清楚默认样式
import './assets/css/reset.css'
// 引入 ui框架
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(Element)

// momentjs 时间格式化插件
import  moment from 'moment'
moment.locale('zh-cn'); //设置时区
Vue.prototype.$moment = moment

// 动画
import './assets/css/animate.min.css'
/* 图片预览 */
 import VueViewer from "v-viewer";
 import "viewerjs/dist/viewer.css";

 Vue.use(VueViewer);

//  封装全局js
import xin from './utlis/xin'
Vue.prototype.xin = xin
/* 懒加载 */
import VueLazyload from "vue-lazyload";
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: require("./assets/404.jpg"),
  loading: require("./assets/loading.gif"),
  attempt: 1,
  listenEvents: ["scroll"],
});

import VueClipboard from "vue-clipboard2";
Vue.use(VueClipboard);
// axios
/* import http from "./utlis/http/http";
import api from "./utlis/http/api";
Vue.prototype.$api = api */
// 全局公用样式
import "./assets/css/extension.scss";
import  './assets/css/main.scss'
import router from "@/router/router"
import store from '@/store/store'

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')

